<template>
  <div class="login">
    <div class="login-modal"></div>
    <div class="login-container">
      <el-card class="box-card" body-style="padding:60px 40px">
          <div class="login-title">HzyAdminElement</div>
          <div class="p-20">
            <div class="login-input">
              <div class="form-title">用户名</div>
              <input type="text" />
            </div>
            <div class="login-input">
              <div class="form-title">密码</div>
              <input type="password" />
            </div>
            <div class="login-btn">
              <el-button type="primary" size="medium" @click="check">登录</el-button>
            </div>
          </div>
        </el-card>
    </div>
    
  </div>
</template>

<script>
export default {
  name: "AdminMain",
  mounted() {
    console.log(this.$route.params);
    // admin.alert();
  },
  methods: {
    check() {
      this.$router.push("/");
    }
  }
};
</script>

<style type="text/css">
</style>

